package com.atmilan.quartz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atmilan.quartz.mapper.JkyProductMapper;
import com.atmilan.quartz.model.entity.jky.JkyProduct;
import com.atmilan.quartz.service.IJkyProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class JkyProductServiceImpl extends ServiceImpl<JkyProductMapper, JkyProduct> implements IJkyProductService {
    @Autowired
    JkyProductMapper jkyProductMapper;

    @Override
    public void deleteAll() {
        jkyProductMapper.deleteAll();
    }
    
    @Override
    public Integer countByGroup() {
        return jkyProductMapper.countByGroup();
    }
    
}
